package com.shopping.pojo;

import java.util.List;

public class RecMessage {

    private int id;
    private int myId;
    private int userId;
    private String nickName;
    private List<Message> messageList;

    public RecMessage(int myId, int userId, String nickName) {
        this.myId = myId;
        this.userId = userId;
        this.nickName = nickName;
    }

    public RecMessage(int id, int myId, int userId, String nickName) {
        this.id = id;
        this.myId = myId;
        this.userId = userId;
        this.nickName = nickName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMyId() {
        return myId;
    }

    public void setMyId(int myId) {
        this.myId = myId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public List<Message> getMessageList() {
        return messageList;
    }

    public void setMessageList(List<Message> messageList) {
        this.messageList = messageList;
    }
}
